package com.hmall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.common.dto.ResultDTO;
import com.hmall.order.pojo.Order;
import com.hmall.order.pojo.OrderDetail;
import com.hmall.order.pojo.OrderPaers;

import java.util.List;

public interface OrderService extends IService<Order> {

    // 获取订单ID

    Long getOderRequset(OrderPaers orderPaer);
    //登录支付

    ResultDTO userLoginPayment(Long id, String password);



    Order findOrderById(Long id);


    List<Order> findOrderList(Integer status);


    void updateStatus(Integer stats, Long id);

    OrderDetail getOrderDetil(Long id);
}
